package com.stars.sun;

import com.stars.sun.reflect.MyReflect;
import com.stars.sun.service.BaseService;
import com.stars.sun.util.ReadConfigUtils;
import org.omg.CORBA.SystemException;

import java.net.URL;
import java.util.List;

/**
 * Created by 340082 on 2018/1/30.
 */
public class TestCore {
    public static void  main (String args[]){

        MyReflect myReflect = new MyReflect();

        myReflect.getPathClassForPath("com.stars.sun.service");

        List<Class<? extends BaseService>> serviceScanList = MyReflect.SERVICE_SCAN_LIST;
        //将该列表进行拼接路径

//        URL resource = myReflect.getClass().getResource("");
//        System.out.println(resource.getProtocol());
//        myReflect.scanPackage(MyReflect.CAL_PRICE_PACKAGE);

    }

}
